package com.jn.jetpack.contract;

import androidx.lifecycle.DefaultLifecycleObserver;

import com.jn.jetpack.entity.News;

public interface NewsContract {
    interface INewsPresenter extends DefaultLifecycleObserver {
        void getData();
    }

    interface INewsView extends HttpInterface {
        void showData(News data);
    }
}
